<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      const array = new Array("heelo", "world");
      console.log(array);
      // 适用字面量的形式

      const array2 = ["heelo", "world"];
      console.log(array2);
      // 数组是对象类型
      console.log(typeof array2);
    </script>
  </body>
</html>
